package main

import (
    "go-os-qemu/pkg/fs"
)

var rootFS fs.FileSystem

func initFS() {
    // Mount a small RAMFS with a few sample files.
    entries := []fs.Entry{
        {Path: "etc/motd", Data: []byte("Welcome to Go-OS RAMFS!\n")},
        {Path: "bin/hello32.elf", Data: HelloELF},
        {Path: "bin/hello-go.elf", Data: HelloGoELF},
        {Path: "scripts/runtime.txt", Data: RuntimeSamples},
        {Path: "readme.txt", Data: []byte("This is a tiny read-only RAMFS demo.\n")},
    }
    rootFS = fs.NewRamFS(entries)
}